Optimal. Leaf size=67 \[ \sqrt {3-\frac {1}{\sqrt {x}}} x-\frac {1}{6} \sqrt {3-\frac {1}{\sqrt {x}}} \sqrt {x}-\frac {\tanh ^{-1}\left (\frac {\sqrt {3-\frac {1}{\sqrt {x}}}}{\sqrt {3}}\right )}{6 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.385, Rules used = {190, 47, 51, 63, 206} \[ \sqrt {3-\frac {1}{\sqrt {x}}} x-\frac {1}{6} \sqrt {3-\frac {1}{\sqrt {x}}} \sqrt {x}-\frac {\tanh ^{-1}\left (\frac {\sqrt {3-\frac {1}{\sqrt {x}}}}{\sqrt {3}}\right )}{6 \sqrt {3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 47
Rule 51
Rule 63
Rule 190
Rule 206
Rubi steps
\begin {align*} \int \sqrt {3-\frac {1}{\sqrt {x}}} \, dx &=-\left (2 \operatorname {Subst}\left (\int \frac {\sqrt {3-x}}{x^3} \, dx,x,\frac {1}{\sqrt {x}}\right )\right )\\ &=\sqrt {3-\frac {1}{\sqrt {x}}} x+\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{\sqrt {3-x} x^2} \, dx,x,\frac {1}{\sqrt {x}}\right )\\ &=-\frac {1}{6} \sqrt {3-\frac {1}{\sqrt {x}}} \sqrt {x}+\sqrt {3-\frac {1}{\sqrt {x}}} x+\frac {1}{12} \operatorname {Subst}\left (\int \frac {1}{\sqrt {3-x} x} \, dx,x,\frac {1}{\sqrt {x}}\right )\\ &=-\frac {1}{6} \sqrt {3-\frac {1}{\sqrt {x}}} \sqrt {x}+\sqrt {3-\frac {1}{\sqrt {x}}} x-\frac {1}{6} \operatorname {Subst}\left (\int \frac {1}{3-x^2} \, dx,x,\sqrt {3-\frac {1}{\sqrt {x}}}\right )\\ &=-\frac {1}{6} \sqrt {3-\frac {1}{\sqrt {x}}} \sqrt {x}+\sqrt {3-\frac {1}{\sqrt {x}}} x-\frac {\tanh ^{-1}\left (\frac {\sqrt {3-\frac {1}{\sqrt {x}}}}{\sqrt {3}}\right )}{6 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.03, size = 36, normalized size = 0.54 \[ \frac {4}{81} \left (3-\frac {1}{\sqrt {x}}\right )^{3/2} \, _2F_1\left (\frac {3}{2},3;\frac {5}{2};1-\frac {1}{3 \sqrt {x}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.56, size = 63, normalized size = 0.94 \[ \frac {1}{6} \, {\left (6 \, x - \sqrt {x}\right )} \sqrt {\frac {3 \, x - \sqrt {x}}{x}} + \frac {1}{36} \, \sqrt {3} \log \left (2 \, \sqrt {3} \sqrt {x} \sqrt {\frac {3 \, x - \sqrt {x}}{x}} - 6 \, \sqrt {x} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.84, size = 59, normalized size = 0.88 \[ \frac {1}{36} \, {\left (6 \, \sqrt {3 \, x - \sqrt {x}} {\left (6 \, \sqrt {x} - 1\right )} + \sqrt {3} \log \left ({\left | -2 \, \sqrt {3} {\left (\sqrt {3} \sqrt {x} - \sqrt {3 \, x - \sqrt {x}}\right )} + 1 \right |}\right )\right )} \mathrm {sgn}\relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 91, normalized size = 1.36 \[ -\frac {\sqrt {\frac {3 \sqrt {x}-1}{\sqrt {x}}}\, \left (\sqrt {3}\, \ln \left (\sqrt {3}\, \sqrt {x}-\frac {\sqrt {3}}{6}+\sqrt {3 x -\sqrt {x}}\right )-36 \sqrt {3 x -\sqrt {x}}\, \sqrt {x}+6 \sqrt {3 x -\sqrt {x}}\right ) \sqrt {x}}{36 \sqrt {\left (3 \sqrt {x}-1\right ) \sqrt {x}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.21, size = 78, normalized size = 1.16 \[ \frac {1}{36} \, \sqrt {3} \log \left (-\frac {\sqrt {3} - \sqrt {-\frac {1}{\sqrt {x}} + 3}}{\sqrt {3} + \sqrt {-\frac {1}{\sqrt {x}} + 3}}\right ) + \frac {{\left (-\frac {1}{\sqrt {x}} + 3\right )}^{\frac {3}{2}} + 3 \, \sqrt {-\frac {1}{\sqrt {x}} + 3}}{6 \, {\left ({\left (\frac {1}{\sqrt {x}} - 3\right )}^{2} + \frac {6}{\sqrt {x}} - 9\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.27, size = 31, normalized size = 0.46 \[ \frac {4\,x\,\sqrt {3-\frac {1}{\sqrt {x}}}\,{{}}_2{\mathrm {F}}_1\left (-\frac {1}{2},\frac {3}{2};\ \frac {5}{2};\ 3\,\sqrt {x}\right )}{3\,\sqrt {1-3\,\sqrt {x}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.96, size = 165, normalized size = 2.46 \[ \begin {cases} \frac {3 x^{\frac {5}{4}}}{\sqrt {3 \sqrt {x} - 1}} - \frac {3 x^{\frac {3}{4}}}{2 \sqrt {3 \sqrt {x} - 1}} + \frac {\sqrt [4]{x}}{6 \sqrt {3 \sqrt {x} - 1}} - \frac {\sqrt {3} \operatorname {acosh}{\left (\sqrt {3} \sqrt [4]{x} \right )}}{18} & \text {for}\: 3 \left |{\sqrt {x}}\right | > 1 \\- \frac {3 i x^{\frac {5}{4}}}{\sqrt {1 - 3 \sqrt {x}}} + \frac {3 i x^{\frac {3}{4}}}{2 \sqrt {1 - 3 \sqrt {x}}} - \frac {i \sqrt [4]{x}}{6 \sqrt {1 - 3 \sqrt {x}}} + \frac {\sqrt {3} i \operatorname {asin}{\left (\sqrt {3} \sqrt [4]{x} \right )}}{18} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________